package com.stone.framework.message.user;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;

public class UserDelReqBody {

    @ApiModelProperty(value = "主键", required = true)
    @NotNull(message = "[id] {title.notNull}")
    private Long id;

    @ApiModelProperty(value = "用户名", required = true)
    @NotBlank(message = "[name] {title.notBlank}")
    private String name;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
